package cn.lyf.service;

import cn.lyf.entity.Answer;
import cn.lyf.entity.Comment;
import cn.lyf.entity.Replay;
import cn.lyf.entity.User;

import java.util.List;

public interface CommentService {
    public Comment commentOnBlog(String blogid, Comment comment);

    public List<Comment> findCommentsByBlogId(String bloid);

    public Comment findById(String id);

    public Replay replay2Comment(String commentid,String replayid,String content,User user);

    public List<Replay> findReplaysByCommentid(String commentid);

    public void delOneComment(String blogid,Comment comment);
}
